home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The 640 MEG Shareware Studio 5
/
The 640 Meg Shareware Studio CD-ROM Volume V (Data Express)(1994).ISO
/
text
/
pcb_dir.doc
< prev
next >
Wrap
Text File
|
1994-07-15
|
5KB
|
107 lines
+--------------------------[ PCB_DIR Ver 1.00 ]----------------------------+
| Written By Gary Meeker 06/15/94 Updated / / |
| SYSOP: SHARP Technical Support Line BBS Lawrenceville, GA |
| (404) 962-1788 300-14400 Baud. 24 Hours |
+---------------------------------------------------------------------------+
V1.00 06/15/94 - Initial release
Syntax: PCB_DIR Dirs [DirLst] [/Z] [/3]
Where: Dirs = Drive:\Path to DIRxx files
[DirLst] = Drive:\Path to DIR & DIR.LST files if different
[/3] = Generate 3 Columns instead of 2 in DIR file
[/Z] = Use Zeros to pad the DIR1 - DIR9 files
The '[' & ']' indicate optional parameters and these characters are not
actually to be used.
Example Usage:
DIR_LST C:\PCB\CDROM
This will copy the FILES.xxx directory listings to C:\PCB\CDROM\DIRxx and
create the DIR.LST, DIR & DIRG files in the C:\PCB\CDROM directory with
the default 2 column DIR & DIRG files.
DIR_LST D:\CDROM\1 C:\PCB\CDROM /3
This will copy the FILES.xxx directory listings to D:\CDROM\DIRxx and create
the DIR.LST, DIR & DIRG files in the C:\PCB\CDROM directory with 3 column
DIR & DIRG files.
This program is designed to be run directly from the CD-Rom and will
copy the FILES.xxx to DIRxx files and generate a DIR.LST, DIR & DIRG file
in the specified directory.
You may create the DIR & DIRG files in 2 (default) or 3 column formats.
The DIRG will be colorized with PCBoard's @Xnn color and can be renamed
DIR as PCBoard will strip the codes for non-graphic Users. The color
coding and design is controlled by a configuration file named PCB_DIR.CFG
and you can copy this file to the Dirs or DirLst directory and customize
it before running the program. The format is as follows:
Line 1: Maximum Directory Digits (2 = 01-99, 3 = 001-999)
Line 2: Frame Characters (TopLeft, TopRight, BotLeft, BotRight, Horiz, Vert)
Line 3: Colors (Frame Color, Digit Color, Cycle, NumColors, Color Codes, ....)
Frame Characters are specified in Decimal
196 205 205 196
218┌───┐191 201╔═══╗187 213╒═══╕184 214╓───╖183
179│ │ 186║ ║ 179│ │ 186║ ║
192└───┘217 200╚═══╝188 212╘═══╛190 211╙───╜189
Frame Color & Digit Color are specified using PCBoard's @Xnn codes. Digit
Color refers to the color of the Directory Number column.
Cycle refers to how many descriptions are printed in a color before moving
on to the next color.
NumColors is the number of colors to cycle through.
Color Codes is a list of color codes in PCBoard's @Xnn and must match the
number specified by numColors.
Using /Z will rename FILES.001 to DIR01 instead of DIR1 to maintain a
constant length of file names and to assist in proper sorting of the
DIRxx files by directory sorting utilities.
The program depends on a DIR.TXT file existing on the CD-ROM in the current
directory. The format of the file is as follows.
Value ┌─────── Hard Disk Subdirectory written
Ignored │ to DIR.LST - 30 Characters Max
└─ ───┴────
[nn] Windows Application Utilities \WIN\APP
─────────────┬────────────────
│ │ │ │
│ │ │ └─ Used to determine end of Description
│ │ │ and start of Subdirectory
│ │ │
│ │ └─ Description of Directory Content written
│ │ to DIR.LST - 35 Characters Max
│ │
│ └─ Used to determine start of Description.
│
└──── Column 1 must start with this.
The Description is determined to start 2 characters after the ']' and end
1 character before the '\' and the Subdirectory starts at the '\'. Only
lines containing the '[', ']' & '\' will be used and counted. The number
between the '[' & ']' is ignored and the actual number of the line in the
file is used instead. The Sort field is always set to '0'.
In 2 Column mode, 30 of the 35 allowable characters are written to the
DIR & DIRG files and in 3 Column mode, 21 characters are used.
This is just a quick & easy way to get the files generated without a lot
of manual work involved. The program is FREEWARE and can be distributed
freely or used on any CD-ROM which can benefit from it. It was written
specifically for the Shareware Studio series of CD-ROM's as they contain
a DIR.TXT file and the FILES.nnn directory listing files.
Please direct any questions or comments to my BBS or on SaltAir BBS as I
check in there daily.